mkdir -p rootfs
cp -r etc ./rootfs
ROOTFS=./rootfs
mkdir -p ${ROOTFS}/lib
cp ./sysrootlib/lib/ld-linux-armhf.so.3 ${ROOTFS}/lib/ 
cp ./sysrootlib/lib/libc.so.6 ${ROOTFS}/lib/ 
cp ./sysrootlib/lib/libm.so.6 ${ROOTFS}/lib/
echo "root:x:0:0:root:/root:/bin/sh" > ./rootfs/etc/passwd #give root to uid 0
mkdir -p ./rootfs/sys
mkdir -p ./rootfs/sys/dev
mkdir -p ./rootfs/proc
mkdir -p ./rootfs/tmp
